package seis635.design;

public class AlarmEvent {
	private String name;
	private Time time;
	private boolean[] repeatDate;
	public AlarmEvent(String name, Time time, boolean[] repeatDate){
		this.name = name;
		this.time = time;
		this.repeatDate = repeatDate;
	}
	public String getName(){
		return this.name;	
	}
	public Time getTime(){
		return this.time;
	}
	public String displayTime(){
		return this.time.getHour() + ":" + this.time.getMinute();
	}
	public boolean[] getRepeatDate(){
		return this.repeatDate;
	}
	public String toString(){
		return this.name + "//" 
			+ time.getHour() + ":" + time.getMinute();
	}
}
